﻿using Acme.Abp.DependencyInjection;
using Acme.Abp.MediatR;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.Modularity;

namespace Acme.Abp.Cqrs
{
    [DependsOn(typeof(AcmeCqrsModule), typeof(AcmeMediatRModule))]
    public class AcmeCqrsMediatRModule : AbpModule
    {
        public override void PreConfigureServices(ServiceConfigurationContext context)
        {
            context.Services.AddConventionalRegistrar(new MediatRCqrsConventionalRegistrar());
        }
    }
}
